﻿@model IEnumerable<McvParis_vert.Application.Models.Commentaire>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            Date_De_Publication
        </th>
        <th>
            Date_De_Modification
        </th>
        <th>
            Contenu
        </th>
        <th>
            Utilisateur_Id
        </th>
        <th>
            Itineraire_Id
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Date_De_Publication)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Date_De_Modification)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Contenu)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Utilisateur_Id)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Itineraire_Id)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
    </tr>
}

</table>
